package com.qf.dao;

import com.qf.pojo.User;

import java.sql.SQLException;

public interface UserDao {
    User selectUserByName(String username) throws SQLException;

    void updateUser(User user) throws SQLException;

    void addUserSelect(User user) throws SQLException;

    User getUserByCodeSelect(String code) throws SQLException;

    User findUserByNameAndPassword(String username , String password) throws SQLException;
}
